package com.chenqi.tool.dialog

import android.content.Context
import com.chenqi.tool.R
import com.chenqi.tool.recycleview.base.BaseRecycleViewAdapter
import com.chenqi.tool.recycleview.base.BaseViewHolder

/**
 * 作者: CQ
 * 日期: 2021-06-11
 * 说明:
 */
class FootListDialogAdapter(context: Context, list: MutableList<String>) :
    BaseRecycleViewAdapter<String>(context, list) {
    override fun getInflate(): Int {
      return R.layout.foot_list_dialog_item
    }

    override fun bindData(holder: BaseViewHolder, data: String, position: Int) {
        holder.getTextView(R.id.text1).text = data
    }
}